package com.cloud.drore.eboss.supplier.entity.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

import java.math.BigDecimal;

/**
 * 浙江卓锐科技股份有限公司 版权所有  Copyright 2018<br>
 *
 * @Description: <br>
 * @Project: eboos <br>
 * @CreateDate: Created in 2018/1/15 17:05 <br>
 * @Author: <a href="575842778@qq.com">郑永涛</a>
 */
@Data
public class TicketQueryVo {

    /** 门票id */
    @JsonProperty("id")
    @JSONField(name = "id")
    @ApiModelProperty(name = "id", notes = "门票id", example = "1")
    private Long id;

    /** 门票名称 */
    @JsonProperty("name")
    @JSONField(name = "name")
    @ApiModelProperty(name = "name", notes = "门票名称", example = "西溪湿地门票")
    private String name;

    /** 消费点id */
    @JsonProperty("consume_id")
    @JSONField(name = "consume_id")
    @ApiModelProperty(name = "consume_id", notes = "消费点id", example = "80")
    private Long consumeId;

    /** 人群 */
    @JsonProperty("crowd")
    @JSONField(name = "crowd")
    @ApiModelProperty(name = "crowd", notes = "人群", example = "学生")
    private String crowd;

    /** 库存方式 */
    @JsonProperty("stock_method")
    @JSONField(name = "stock_method")
    @ApiModelProperty(name = "stock_method", notes = "库存方式", example = "周期性库存")
    private String stockMethod;

    /** 门票是否上架标识 0 未上架 1 已上架 */
    @JsonProperty("is_shelves")
    @JSONField(name = "is_shelves")
    @ApiModelProperty(name = "is_shelves", notes = "门票是否上架标识", example = "1")
    private Integer isShelves;

    /** 采购价平时 */
    @JsonProperty("purchase_price_usually")
    @JSONField(name = "purchase_price_usually")
    @ApiModelProperty(name = "purchase_price_usually", notes = "采购价平时", example = "80.00")
    private BigDecimal purchasePriceUsually;

    /** 门市价平时 */
    @JsonProperty("retail_price_usually")
    @JSONField(name = "retail_price_usually")
    @ApiModelProperty(name = "retail_price_usually", notes = "门市价平时", example = "80.00")
    private BigDecimal retailPriceUsually;

    /** 建议零售价平时 */
    @JsonProperty("suggested_retail_price_usually")
    @JSONField(name = "suggested_retail_price_usually")
    @ApiModelProperty(name = "suggested_retail_price_usually", notes = "建议零售价平时", example = "80.00")
    private BigDecimal suggestedRetailPriceUsually;

    /**
     * 消费点名称
     */
    @NotBlank(message = "消费点名称不能为空！")
    @JsonProperty("consume_name")
    @JSONField(name = "consume_name")
    @ApiModelProperty(name = "consume_name", notes = "消费点名称", example = "都江堰")
    private String consumeName;

    /** 使用说明 */
    @JsonProperty("instruction")
    @JSONField(name = "instruction")
    @ApiModelProperty(name = "instruction", notes = "使用说明", example = "使用说明")
    private String instruction;

    /** 产品编号 */
    @JsonProperty("product_num")
    @JSONField(name = "product_num")
    @ApiModelProperty(name = "product_num", notes = "产品编号", example = "T1000")
    private String productNum;

    /** 固定费率 */
    @JsonProperty("fixed_rate")
    @JSONField(name = "fixed_rate")
    @ApiModelProperty(name = "fixed_rate", notes = "固定费率", example = "80.00")
    private BigDecimal fixedRate;

}